home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
emulator
/
bsvc-1.000
/
bsvc-1
/
bsvc-1.0.4
/
src
/
SimHector
/
log
next >
Wrap
Text File
|
1995-07-26
|
2KB
|
62 lines
- Made a simHector directory and copied the contents for the simTemplate
directory into it.
- Changed the THEPRG variable in the simHector/Imakefile to be simHector
- Renamed simHector/cpu/newcpu.hxx to hector.hxx
- Changed the following in hector.hxx:
* NEWCPU_HXX to HECTOR_HXX
* Class name from newcpu to hector (class hector : public BasicCPU)
* Changed constructor and destuctor name from newcpu to hector
* Added a RegisterData structure at the top of the file to keep
the name of the register, a mask, and a description:
// Register information structure
struct RegisterData {
const char* name;
const unsigned long mask;
const char* description;
};
* Added static RegisterData register_data[];
unsigned long *register_value;
* Added Constant Register array indices and Status Register Masks.
- Made the hector.cxx file
* Defined the register_data array
* wrote constructor
* wrote destructor
* wrote Reset routine
* wrote SetRegister routine
* wrote BuildRegisterInformationList routine
* added stubs for other methods
- Modified main.cxx to include Hector.hxx instead of newcpu.hxx also
made it instanticate a Hector object.
- Modified simHector/Imakefile/cpu to build Hector.o
- did xmkmf in all of the dirs
- made simHector and test the UI to make sure Registers were displayed
and their values could be changed.
- Decided that the best way to design the Hector simulator was to have
the following object layout
--RegisterSet
----DataPath-
--- | -- ALU
Hector- |
--- |
----ControlUnit
- Built the New objects: RegisterSet, ALU, DataPath, ControlUnit